package com.eastfair.common.req;

import com.eastfair.annotation.annotation.dictionary.DictionaryField;
import com.eastfair.annotation.annotation.vo.VoInfo;
import com.eastfair.annotation.model.BaseVoGroupClass;
import com.eastfair.demand.certificate.CertificateUserGroup;
import com.eastfair.vo.BaseVO;
import com.fasterxml.jackson.annotation.JsonInclude;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 实体类
 * 证件指标设置
 * </p>
 *
 * @author ligang
 * @since 2022-07-22
 */
@Data
@ApiModel(value = "CertificateIndexVO", description = "证件指标设置")
public class CertificateIndexReq extends BaseVO implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键")
    @JsonInclude(JsonInclude.Include.NON_NULL)
    @VoInfo(groups = {BaseVoGroupClass.all.class})
    private Long id;

    /**
     * 已使用数量
     */
    @ApiModelProperty(value = "已使用数量")
    @JsonInclude(JsonInclude.Include.NON_NULL)
    @VoInfo(groups = {CertificateUserGroup.all.class})
    private Integer useNumber;
    /**
     * 限制数量
     */
    @ApiModelProperty(value = "限制数量")
    @JsonInclude(JsonInclude.Include.NON_NULL)
    @VoInfo(groups = {CertificateUserGroup.all.class})
    private Integer conditionNumber;
    /**
     * 开始时间
     */
    @ApiModelProperty(value = "开始时间")
    @JsonInclude(JsonInclude.Include.NON_NULL)
    @VoInfo(groups = {CertificateUserGroup.all.class})
    private LocalDateTime startTime;
    /**
     * 结束时间
     */
    @ApiModelProperty(value = "结束时间")
    @JsonInclude(JsonInclude.Include.NON_NULL)
    @VoInfo(groups = {CertificateUserGroup.all.class})
    private LocalDateTime endTime;

    /**
     * 场地CODE
     */
    @ApiModelProperty(value = "场地CODE")
    @JsonInclude(JsonInclude.Include.NON_NULL)
    @VoInfo(groups = {CertificateUserGroup.all.class})
    private String spaceCode;

    /**
     * 证件分类
     */
    @ApiModelProperty(value = "证件分类")
    @JsonInclude(JsonInclude.Include.NON_NULL)
    @VoInfo(groups = {CertificateUserGroup.all.class})
    private String classify;


    /**
     * 证件id
     */
    @ApiModelProperty(value = "证件id")
    @JsonInclude(JsonInclude.Include.NON_NULL)
    @VoInfo(groups = {CertificateUserGroup.all.class})
    private Long certificateId;
    /**
     * 展会id
     */
    @ApiModelProperty(value = "展会id")
    @JsonInclude(JsonInclude.Include.NON_NULL)
    @VoInfo(groups = {CertificateUserGroup.all.class})
    private Long exhibitionId;
    /**
     * 是否启用：1是；0否
     */
    @ApiModelProperty(value = "是否启用：1是；0否")
    @JsonInclude(JsonInclude.Include.NON_NULL)
    private Integer isEnabled;
    /**
     * 是否删除：1是；0否
     */
    @ApiModelProperty(value = "是否删除：1是；0否")
    @JsonInclude(JsonInclude.Include.NON_NULL)
    private Integer isDeleted;
    /**
     * 租户id
     */
    @ApiModelProperty(value = "租户id")
    @JsonInclude(JsonInclude.Include.NON_NULL)
    private Long tenantId;
    /**
     * 项目id
     */
    @ApiModelProperty(value = "项目id")
    @JsonInclude(JsonInclude.Include.NON_NULL)
    private Long projectId;
    /**
     * 子系统id
     */
    @ApiModelProperty(value = "子系统id")
    @JsonInclude(JsonInclude.Include.NON_NULL)
    private Long subsystemId;

    /**
     * 1:添加/修改，0:删除
     */
    @ApiModelProperty(value = "1:添加/修改，0:删除")
    @JsonInclude(JsonInclude.Include.NON_NULL)
    @VoInfo(groups = {CertificateUserGroup.all.class})
    private Integer act;

    /**
     * 车牌号码
     */
    @ApiModelProperty(value = "车牌号码")
    @JsonInclude(JsonInclude.Include.NON_NULL)
    @VoInfo(groups = {CertificateUserGroup.all.class})
    private String carCode;

}
